package grade.calculate;

import grade.calculate.config.Configure;
import grade.calculate.event.Calculate;
import grade.calculate.event.Write;

/**
 * 程序运行入口
 *
 * @author fromdrowning
 * @date 2024/2/20 19:18
 */
public class Run {
    public static void main(String[] args) {
        Configure.builder()
                .setEventAfterRead(new Calculate())
                .setEventAfterRead(new Write("E:\\测试.xlsx"))
                .setInputFileName("被读取的学业成绩表示例.xls")
                .setSemesterCourseList(
                        "大学英语（4）",
                        "B/S项目实训",
                        "Web编程技术",
                        "系统分析与设计Systems-Analysis-and-Design",
                        "数据库系统原理与应用",
                        "马克思主义基本原理概论",
                        "大学体育专项二（2）",
                        "商业统计Business-Log",
                        "数据库系统原理与应用课程设计")
                .start();
    }
}
